﻿using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using XLua;
[LuaCallCSharp]
public class Log
{
    public static void LogDefault(object msg)
    {
        Debug.Log(msg);
    }
    public static void LogError(object msg)
    {
        Debug.LogError(msg);
    }
    public static void LogWarning(object msg)
    {
        Debug.LogWarning(msg);
    }
    public static void LogGreen(object message)
    {
        Debug.Log(string.Format("<color=#00FF00>{0}</color>", message));
    }
    public static void LogRed(object message)
    {
        Debug.Log(string.Format("<color=#FF0000>{0}</color>", message));
    }
    public static void LogWrite(object message)
    {
        Debug.Log(string.Format("<color=#FFFFFF>{0}</color>", message));
    }
    public static void LogBlue(object message)
    {
        Debug.Log(string.Format("<color=#0000FF>{0}</color>", message));
    }
    public static void LogYellow(object message)
    {
        Debug.Log(string.Format("<color=#FFF400>{0}</color>", message));
    }
}
